const path = require('path')
const fs = require('fs')

module.exports = {
    publicPath: './',
    outputDir: 'www',
    assetsDir: 'static',
    productionSourceMap: false,
    filenameHashing: false,

    configureWebpack: {
        output: {
            filename: 'js/[name].js',
            chunkFilename: 'js/[name].js'
        },
        resolve: {
            alias: {
                '@': path.resolve(__dirname, 'src')
            }
        }
    }
}